package com.wulis.seckill.business.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wulis.seckill.business.mapper.AccountMapper;
import com.wulis.seckill.business.pojo.AccountInfo;
import com.wulis.seckill.business.service.AccountService;
import com.wulis.seckill.common.wrapper.ResponseData;
import com.wulis.seckill.common.wrapper.ResponseDataUtil;
import lombok.AllArgsConstructor;
import lombok.NonNull;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;


/**
 * 库存秒杀管理
 */
@Slf4j
@Service
@AllArgsConstructor
public class AccountServiceImpl extends ServiceImpl<AccountMapper, AccountInfo> implements AccountService {

    private final AccountMapper accountMapper;

    public ResponseData login(@NonNull AccountInfo accountInfo) {

        return ResponseDataUtil.buildSuccess();
    }

}
